package org.springblade.modules.monitor.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.modules.monitor.dto.DiskDTO;

import java.util.List;

/**
 * @ClassName ServerDetailVO
 * @Description
 * @Author zhang_xfei
 * @DATE 2020 2020/7/13 9:48
 **/
@Data
public class ServerDetailVO {
	private static final long serialVersionUID = 1L;

	/**
	 * 主机基础信息
	 */
	@ApiModelProperty(value = "名称")
	private String host;

	@ApiModelProperty(value = "管理ip")
	private String ip;

	@ApiModelProperty(value = "管理端口")
	private String port;

	@ApiModelProperty(value = "远程ip; 不进行展示")
	private String remoteIp;

	@ApiModelProperty(value = "MAC地址; 不进行展示")
	private String macAddr;

	@ApiModelProperty(value = "子网掩码; 不进行展示")
	private String subnetMask;

	@ApiModelProperty(value = "管理状态 0：监控中；1：未监控")
	private Integer manageStatus;

	@ApiModelProperty(value = "管理方式(监控方式) 1:Agent  2:SNMP")
	private Integer manageType;

	@ApiModelProperty(value = "关键性; 不进行展示")
	private String keyFlag;

	@ApiModelProperty(value = "厂商; 不进行展示")
	private String factory;

	@ApiModelProperty(value = "型号; 不进行展示")
	private String kind;

	@ApiModelProperty(value = "操作系统")
	private String operatingSystem ;

	@ApiModelProperty(value = "系统oid; 不进行展示")
	private String systemOid ;

	@ApiModelProperty(value = "描述信息")
	private String systemDesc ;

	@ApiModelProperty(value = "健康度，已转换为百分制")
	private Integer healthyValue;

	@ApiModelProperty(value = "内存信息")
	MemoryVO memoryVO;

	@ApiModelProperty(value = "CPU信息")
	CpuVO cpuVO;

	@ApiModelProperty(value = "网络传输信息")
	NetworkVO networkVO;

	@ApiModelProperty(value = "指标信息")
	List<ServerQuota> serverQuotas;

	/**
	 * 获取磁盘信息 信息
	 */
	@ApiModelProperty(value = "磁盘信息")
	List<DiskDTO> disks;
}
